package com.bjsxt.generic;

/**
 * public interface Comparable1<T>   T 形参
 * public class Student implements Comparable1<Student>  Student 实参
 *
 * Student类不认为是泛型类
 */
public class Student implements Comparable1<Student>{
    private int sno;
    private String name;

    @Override
    public int compareTo(Student obj) {
        return 0;
    }
}
